.class public Les/wl;
.super Ljava/lang/Object;
.source "FinderManager.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/wl$d;,
        Les/wl$b;,
        Les/wl$c;
    }
.end annotation


# static fields
.field private static h:Les/wl;


# instance fields
.field private a:Les/xl;

.field private b:Landroid/view/View;

.field private c:Ljava/lang/String;

.field private d:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;",
            "Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;",
            ">;"
        }
    .end annotation
.end field

.field private e:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;",
            "Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;",
            ">;"
        }
    .end annotation
.end field

.field private f:Les/wl$d;

.field private g:Landroid/app/Activity;


# direct methods
.method private constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Les/wl;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 3
    iput-object p1, p0, Les/wl;->c:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Les/wl;)Ljava/util/Map;
    .locals 0

    .line 1
    iget-object p0, p0, Les/wl;->d:Ljava/util/Map;

    return-object p0
.end method

.method static synthetic a(Les/wl;Ljava/util/Map;)Ljava/util/Map;
    .locals 0

    .line 2
    iput-object p1, p0, Les/wl;->d:Ljava/util/Map;

    return-object p1
.end method

.method static synthetic b(Les/wl;)Ljava/util/Map;
    .locals 0

    .line 1
    iget-object p0, p0, Les/wl;->e:Ljava/util/Map;

    return-object p0
.end method

.method static synthetic b(Les/wl;Ljava/util/Map;)Ljava/util/Map;
    .locals 0

    .line 2
    iput-object p1, p0, Les/wl;->e:Ljava/util/Map;

    return-object p1
.end method

.method static synthetic c(Les/wl;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Les/wl;->c:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic d(Les/wl;)Les/xl;
    .locals 0

    .line 1
    iget-object p0, p0, Les/wl;->a:Les/xl;

    return-object p0
.end method

.method public static i()Les/wl;
    .locals 1

    .line 1
    sget-object v0, Les/wl;->h:Les/wl;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/wl;

    invoke-direct {v0}, Les/wl;-><init>()V

    sput-object v0, Les/wl;->h:Les/wl;

    .line 3
    :cond_0
    sget-object v0, Les/wl;->h:Les/wl;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 1

    const/4 v0, 0x0

    .line 15
    iput-object v0, p0, Les/wl;->c:Ljava/lang/String;

    .line 16
    iput-object v0, p0, Les/wl;->d:Ljava/util/Map;

    .line 17
    iput-object v0, p0, Les/wl;->e:Ljava/util/Map;

    return-void
.end method

.method public a(Landroid/app/Activity;)V
    .locals 1

    .line 4
    iget-object v0, p0, Les/wl;->c:Ljava/lang/String;

    invoke-virtual {p0, p1, v0}, Les/wl;->a(Landroid/app/Activity;Ljava/lang/String;)V

    return-void
.end method

.method public a(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 2

    .line 5
    iget-object v0, p0, Les/wl;->a:Les/xl;

    if-eqz v0, :cond_0

    iget-object v0, p0, Les/wl;->b:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Les/wl;->g:Landroid/app/Activity;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 6
    :cond_0
    iput-object p1, p0, Les/wl;->g:Landroid/app/Activity;

    const v0, 0x7f09034d

    .line 7
    invoke-virtual {p1, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Les/wl;->b:Landroid/view/View;

    .line 8
    new-instance v0, Les/xl;

    invoke-direct {v0, p1}, Les/xl;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Les/wl;->a:Les/xl;

    .line 9
    sget-object p1, Ljava/util/Collections;->EMPTY_LIST:Ljava/util/List;

    invoke-virtual {v0, p1}, Les/xl;->a(Ljava/util/List;)V

    .line 10
    :cond_1
    iget-object p1, p0, Les/wl;->c:Ljava/lang/String;

    if-eqz p1, :cond_3

    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_2

    goto :goto_0

    :cond_2
    const/4 p1, 0x0

    goto :goto_1

    :cond_3
    :goto_0
    const/4 p1, 0x1

    .line 11
    :goto_1
    iget-object v0, p0, Les/wl;->a:Les/xl;

    xor-int/lit8 v1, p1, 0x1

    invoke-virtual {v0, v1}, Les/xl;->a(Z)V

    .line 12
    iget-object v0, p0, Les/wl;->a:Les/xl;

    iget-object v1, p0, Les/wl;->b:Landroid/view/View;

    invoke-virtual {v0, v1}, Les/xl;->a(Landroid/view/View;)V

    .line 13
    new-instance v0, Les/wl$c;

    invoke-direct {v0, p0, p2, p1}, Les/wl$c;-><init>(Les/wl;Ljava/lang/String;Z)V

    invoke-virtual {v0}, Les/wl$c;->a()V

    return-void
.end method

.method public a(Les/wl$d;)V
    .locals 0

    .line 14
    iput-object p1, p0, Les/wl;->f:Les/wl$d;

    return-void
.end method

.method public b()V
    .locals 4

    .line 3
    iget-object v0, p0, Les/wl;->e:Ljava/util/Map;

    iput-object v0, p0, Les/wl;->d:Ljava/util/Map;

    .line 4
    invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;

    .line 5
    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;->a()Ljava/util/Collection;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    .line 6
    invoke-virtual {v2}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->i()Z

    move-result v3

    invoke-virtual {v2, v3}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->c(Z)V

    goto :goto_0

    .line 7
    :cond_1
    iget-object v0, p0, Les/wl;->f:Les/wl$d;

    if-eqz v0, :cond_2

    .line 8
    invoke-interface {v0}, Les/wl$d;->a()V

    :cond_2
    return-void
.end method

.method public c()V
    .locals 1

    .line 2
    iget-object v0, p0, Les/wl;->a:Les/xl;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Les/xl;->a()V

    :cond_0
    return-void
.end method

.method public d()Ljava/util/Collection;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Collection<",
            "Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;",
            ">;"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Les/wl;->d:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v0

    return-object v0
.end method

.method public e()Les/wl$b;
    .locals 9

    .line 1
    new-instance v0, Les/wl$b;

    invoke-direct {v0}, Les/wl$b;-><init>()V

    .line 2
    invoke-virtual {p0}, Les/wl;->d()Ljava/util/Collection;

    move-result-object v1

    if-eqz v1, :cond_9

    .line 3
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 4
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    .line 5
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    .line 6
    invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    const/4 v6, 0x1

    if-eqz v5, :cond_7

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;

    .line 7
    invoke-virtual {v5}, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;->b()Ljava/util/List;

    move-result-object v7

    if-eqz v7, :cond_0

    .line 8
    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v8

    if-ge v8, v6, :cond_1

    goto :goto_0

    .line 9
    :cond_1
    sget-object v8, Les/wl$a;->a:[I

    iget-object v5, v5, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;->e:Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;

    invoke-virtual {v5}, Ljava/lang/Enum;->ordinal()I

    move-result v5

    aget v5, v8, v5

    if-eq v5, v6, :cond_6

    const/4 v6, 0x2

    const/4 v8, 0x0

    if-eq v5, v6, :cond_5

    const/4 v6, 0x3

    if-eq v5, v6, :cond_4

    const/4 v6, 0x4

    if-eq v5, v6, :cond_3

    const/4 v6, 0x5

    if-eq v5, v6, :cond_2

    goto :goto_0

    .line 10
    :cond_2
    invoke-interface {v7}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_1
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-eqz v6, :cond_0

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    .line 11
    invoke-virtual {v6}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->g()Ljava/lang/String;

    move-result-object v6

    invoke-interface {v4, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 12
    :cond_3
    invoke-interface {v7}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_2
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-eqz v6, :cond_0

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    .line 13
    invoke-virtual {v6}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->h()Ljava/lang/String;

    move-result-object v6

    invoke-interface {v2, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_2

    .line 14
    :cond_4
    invoke-interface {v7, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    invoke-virtual {v5}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->e()J

    move-result-wide v5

    invoke-interface {v7, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    invoke-virtual {v7}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->c()J

    move-result-wide v7

    invoke-virtual {v0, v5, v6, v7, v8}, Les/wl$b;->a(JJ)V

    goto :goto_0

    .line 15
    :cond_5
    invoke-interface {v7, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    invoke-virtual {v5}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->f()J

    move-result-wide v5

    invoke-interface {v7, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    invoke-virtual {v7}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->d()J

    move-result-wide v7

    invoke-virtual {v0, v5, v6, v7, v8}, Les/wl$b;->b(JJ)V

    goto/16 :goto_0

    .line 16
    :cond_6
    invoke-interface {v7}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_3
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-eqz v6, :cond_0

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    .line 17
    invoke-virtual {v6}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->a()Lcom/estrongs/android/pop/app/finder/data/FinderItemData$AdditionalType;

    move-result-object v6

    invoke-interface {v3, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_3

    .line 18
    :cond_7
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v1

    if-ge v1, v6, :cond_8

    .line 19
    iget-object v1, p0, Les/wl;->d:Ljava/util/Map;

    sget-object v5, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;->Type:Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;

    invoke-interface {v1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;

    .line 20
    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;->a()Ljava/util/Collection;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_4
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_8

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    .line 21
    invoke-virtual {v5}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->h()Ljava/lang/String;

    move-result-object v5

    invoke-interface {v2, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_4

    .line 22
    :cond_8
    invoke-virtual {v0, v2}, Les/wl$b;->c(Ljava/util/List;)V

    .line 23
    invoke-virtual {v0, v4}, Les/wl$b;->b(Ljava/util/List;)V

    .line 24
    invoke-virtual {v0, v3}, Les/wl$b;->a(Ljava/util/List;)V

    :cond_9
    return-object v0
.end method

.method public f()Z
    .locals 1

    .line 1
    iget-object v0, p0, Les/wl;->a:Les/xl;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Les/xl;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public g()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/wl;->a:Les/xl;

    if-eqz v0, :cond_0

    .line 2
    new-instance v0, Les/wl$c;

    iget-object v1, p0, Les/wl;->c:Ljava/lang/String;

    const/4 v2, 0x1

    invoke-direct {v0, p0, v1, v2}, Les/wl$c;-><init>(Les/wl;Ljava/lang/String;Z)V

    invoke-virtual {v0}, Les/wl$c;->a()V

    :cond_0
    return-void
.end method

.method public h()V
    .locals 7

    .line 1
    iget-object v0, p0, Les/wl;->d:Ljava/util/Map;

    sget-object v1, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;->Additional:Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;

    .line 2
    iget-object v1, p0, Les/wl;->d:Ljava/util/Map;

    sget-object v2, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;->Type:Lcom/estrongs/android/pop/app/finder/data/FinderGroupData$GroupType;

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;

    if-eqz v1, :cond_9

    if-eqz v0, :cond_9

    .line 3
    iget-object v2, p0, Les/wl;->c:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->l1(Ljava/lang/String;)Z

    move-result v2

    const/4 v3, 0x0

    const/4 v4, 0x1

    if-nez v2, :cond_1

    iget-object v2, p0, Les/wl;->c:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v2, 0x1

    :goto_1
    if-nez v2, :cond_3

    .line 4
    iget-object v5, p0, Les/wl;->c:Ljava/lang/String;

    invoke-static {v5}, Lcom/estrongs/android/util/h0;->J0(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_2

    goto :goto_2

    :cond_2
    const/4 v5, 0x0

    goto :goto_3

    :cond_3
    :goto_2
    const/4 v5, 0x1

    :goto_3
    if-nez v2, :cond_5

    .line 5
    iget-object v2, p0, Les/wl;->c:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->Q0(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    goto :goto_4

    :cond_4
    const/4 v2, 0x0

    goto :goto_5

    :cond_5
    :goto_4
    const/4 v2, 0x1

    :goto_5
    const v6, 0x7f110455

    .line 6
    invoke-virtual {v0, v6}, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;->b(I)Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    move-result-object v0

    const v6, 0x7f11020f

    .line 7
    invoke-virtual {v1, v6}, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;->b(I)Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    move-result-object v6

    if-eqz v6, :cond_7

    if-eqz v5, :cond_6

    .line 8
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->i()Z

    move-result v5

    if-nez v5, :cond_6

    const/4 v5, 0x1

    goto :goto_6

    :cond_6
    const/4 v5, 0x0

    :goto_6
    invoke-virtual {v6, v5}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->b(Z)Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    :cond_7
    const v5, 0x7f110210

    .line 9
    invoke-virtual {v1, v5}, Lcom/estrongs/android/pop/app/finder/data/FinderGroupData;->b(I)Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    move-result-object v1

    if-eqz v1, :cond_9

    if-eqz v2, :cond_8

    .line 10
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->i()Z

    move-result v0

    if-nez v0, :cond_8

    const/4 v3, 0x1

    :cond_8
    invoke-virtual {v1, v3}, Lcom/estrongs/android/pop/app/finder/data/FinderItemData;->b(Z)Lcom/estrongs/android/pop/app/finder/data/FinderItemData;

    :cond_9
    return-void
.end method
